//
//  LoadCourseDataManager.h
//  网易公开课项目
//
//  Created by 林 艺 on 13-11-26.
//  Copyright (c) 2013年 Marklin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CourseModel.h"
#import "CourseVideoModel.h"

@interface LoadCourseDataManager : NSObject

@property (nonatomic, retain)NSMutableArray *courseData;


+ (id)shareInstance;
- (void)loadDataFromInternet;
- (void)loadDetailCourseDataWith:(NSString *)urlString;

- (NSArray *)loadRecommondData;
- (NSArray *)loadBookmarkData;
- (NSArray *)loadHistoryData;
- (NSArray *)loadDownloadData;

- (void)writeDataToBookmarkArchiverWithArray:(NSMutableArray *)dataModels;
- (void)writeDataToBookmarkArchiverWithModel:(CourseModel *)model;
- (void)writeToDownloadArchiverWithModel:(CourseModel *)courseModel;
- (void)writeToHistoryArchiverWithModel:(CourseModel *)courseModel;
- (void)writeToHistoryArchiverWithArray:(NSMutableArray *)dataModels;
- (void)writeToDownloadArchiverWithArray:(NSMutableArray *)array;


@end
